package com.xishu.entity.shop;

import com.xishu.annotation.oplog.OplogAnnotation;
import com.xishu.entity.AbstractEntity;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

@Entity(name = "shop_flag")
@Table(indexes = {@Index(columnList = "shopId")})
public class ShopFlag extends AbstractEntity {
    private static final long serialVersionUID = 7091697888179544006L;

    @OplogAnnotation(fieldName = "分店ID")
    private Long shopId;

    @OplogAnnotation(fieldName = "标记的时间")
    private String flagTime;

    @OplogAnnotation(fieldName = "闭店报告是否已打印")
    private Boolean closeReportPrinted;

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getFlagTime() {
        return flagTime;
    }

    public void setFlagTime(String flagTime) {
        this.flagTime = flagTime;
    }

    public Boolean getCloseReportPrinted() {
        return closeReportPrinted;
    }

    public void setCloseReportPrinted(Boolean closeReportPrinted) {
        this.closeReportPrinted = closeReportPrinted;
    }
}
